﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace KTSonline.ajax
{
    public partial class cartdetail : System.Web.UI.Page
    {
        public ShoppingCart cart;

        protected void Page_Load(object sender, EventArgs e)
        {
            cart = (ShoppingCart)Session["cart"];
            Repeater1.DataSource = cart.lstCart;
            Repeater1.DataBind();
        }
        public String getTotal(object a, object b)
        {
            Int32 rs = Int32.Parse(a.ToString()) * Int32.Parse(b.ToString());
            return rs.ToString("N0");
        }
    }
}
